Skip to main content

Class: ValidationError

Hierarchy

  • Error

    ValidationError

Constructors

constructor

new ValidationError(errors)

Parameters

NameType
errorsunknown[]

Overrides

Error.constructor

Properties

cause

Optional cause: unknown

Inherited from

Error.cause


errors

errors: unknown[]


message

message: string

Inherited from

Error.message


name

name: string = 'ValidationError'

Overrides

Error.name


stack

Optional stack: string

Inherited from

Error.stack